<?php
/**
 * @category	Core
 * @package		JomSocial
 * @copyright (C) 2008 by Slashes & Dots Sdn Bhd - All rights reserved!
 * @license		GNU/GPL, see LICENSE.php
 */
// Disallow direct access to this file
defined('_JEXEC') or die('Restricted access');
?>
<fieldset class="adminform">
	<legend><?php echo JText::_( 'CC_GROUPS' ); ?></legend>
	<table class="admintable" cellspacing="1">
		<tbody>
			<tr>
				<td width="350" class="key">
					<span class="hasTip" title="<?php echo JText::_( 'CC_ENABLE_GROUPS' ); ?>::<?php echo JText::_('CC_ENABLE_GROUPS_TIPS'); ?>">
						<?php echo JText::_( 'CC_ENABLE_GROUPS' ); ?>
					</span>
				</td>
				<td valign="top">
					<?php echo JHTML::_('select.booleanlist' , 'enablegroups' , null , $this->config->get('enablegroups') , JText::_('CC_YES') , JText::_('CC_NO') ); ?>
				</td>
			</tr>
			<tr>
				<td width="350" class="key">
					<span class="hasTip" title="<?php echo JText::_( 'CC_ENABLE_GROUPS_SEARCH' ); ?>::<?php echo JText::_('CC_ENABLE_GROUPS_SEARCH_TIPS'); ?>">
						<?php echo JText::_( 'CC_ENABLE_GROUPS_SEARCH' ); ?>
					</span>
				</td>
				<td valign="top">
					<?php echo JHTML::_('select.booleanlist' , 'enableguestsearchgroups' , null , $this->config->get('enableguestsearchgroups') , JText::_('CC_YES') , JText::_('CC_NO') ); ?>
				</td>
			</tr>
			<tr>
				<td class="key">
					<span class="hasTip" title="<?php echo JText::_( 'CC_MODERATE_GROUP_CREATION' ); ?>::<?php echo JText::_('CC_MODERATE_GROUP_CREATION_TIPS'); ?>">
						<?php echo JText::_( 'CC_MODERATE_GROUP_CREATION' ); ?>
					</span>
				</td>
				<td valign="top">
					<?php echo JHTML::_('select.booleanlist' , 'moderategroupcreation' , null , $this->config->get('moderategroupcreation') , JText::_('CC_YES') , JText::_('CC_NO') ); ?>
				</td>
			</tr>
			<tr>
				<td class="key">
					<span class="hasTip" title="<?php echo JText::_( 'CC_ALLOW_GROUP_CREATION' ); ?>::<?php echo JText::_('CC_ALLOW_GROUP_CREATION_TIPS'); ?>">
						<?php echo JText::_( 'CC_ALLOW_GROUP_CREATION' ); ?>
					</span>
				</td>
				<td valign="top">
					<?php echo JHTML::_('select.booleanlist' , 'creategroups' , null , $this->config->get('creategroups') , JText::_('CC_YES') , JText::_('CC_NO') ); ?>
				</td>
			</tr>
			<tr>
				<td class="key">
					<span class="hasTip" title="<?php echo JText::_( 'CC_GROUP_CREATION_LIMIT' ); ?>::<?php echo JText::_('CC_GROUP_CREATION_LIMIT_TIPS'); ?>">
						<?php echo JText::_( 'CC_GROUP_CREATION_LIMIT' ); ?>
					</span>
				</td>
				<td valign="top">
					<input type="text" name="groupcreatelimit" value="<?php echo $this->config->get('groupcreatelimit' );?>" size="10" />
				</td>
			</tr>
			<tr>
				<td class="key">
					<span class="hasTip" title="<?php echo JText::_( 'CC_GROUP_PHOTO_UPLOAD_LIMIT' ); ?>::<?php echo JText::_('CC_GROUP_PHOTO_UPLOAD_LIMIT_TIPS'); ?>">
						<?php echo JText::_( 'CC_GROUP_PHOTO_UPLOAD_LIMIT' ); ?>
					</span>
				</td>
				<td valign="top">
					<input type="text" name="groupphotouploadlimit" value="<?php echo $this->config->get('groupphotouploadlimit' );?>" size="10" />
				</td>
			</tr>
			<tr>
				<td class="key">
					<span class="hasTip" title="<?php echo JText::_( 'CC_GROUP_VIDEO_UPLOAD_LIMIT' ); ?>::<?php echo JText::_('CC_GROUP_VIDEO_UPLOAD_LIMIT_TIPS'); ?>">
						<?php echo JText::_( 'CC_GROUP_VIDEO_UPLOAD_LIMIT' ); ?>
					</span>
				</td>
				<td valign="top">
					<input type="text" name="groupvideouploadlimit" value="<?php echo $this->config->get('groupvideouploadlimit' );?>" size="10" />
				</td>
			</tr>
			<tr>
				<td class="key">
					<span class="editlinktip hasTip" title="<?php echo JText::_( 'CC_ENABLE_GROUP_ANNOUNCEMENT' ); ?>::<?php echo JText::_('CC_ENABLE_GROUP_ANNOUNCEMENT_TIPS'); ?>">
						<?php echo JText::_( 'CC_ENABLE_GROUP_ANNOUNCEMENT' ); ?>
					</span>
				</td>
				<td valign="top">
					<?php echo JHTML::_('select.booleanlist' , 'createannouncement' , null , $this->config->get('createannouncement') , JText::_('CC_YES') , JText::_('CC_NO') ); ?>
				</td>
			</tr>
			<tr>
				<td class="key">
					<span class="editlinktip hasTip" title="<?php echo JText::_( 'CC_ENABLE_GROUP_DISCUSSIONS' ); ?>::<?php echo JText::_('CC_ENABLE_GROUP_DISCUSSIONS_TIPS'); ?>">
						<?php echo JText::_( 'CC_ENABLE_GROUP_DISCUSSIONS' ); ?>
					</span>
				</td>
				<td valign="top">
					<?php echo JHTML::_('select.booleanlist' , 'creatediscussion' , null , $this->config->get('creatediscussion') , JText::_('CC_YES') , JText::_('CC_NO') ); ?>
				</td>
			</tr>
			<tr>
				<td class="key">
					<span class="editlinktip hasTip" title="<?php echo JText::_( 'CC_GROUP_DISCUSSIONS_ORDER' ); ?>::<?php echo JText::_('CC_GROUP_DISCUSSIONS_ORDER_TIPS'); ?>">
						<?php echo JText::_( 'CC_GROUP_DISCUSSIONS_ORDER' ); ?>
					</span>
				</td>
				<td valign="top">
					<?php echo $this->lists['groupDicussOrder']; ?>
				</td>
			</tr>
			<tr>
				<td class="key">
					<span class="editlinktip hasTip" title="<?php echo JText::_( 'CC_ENABLE_GROUP_PHOTOS' ); ?>::<?php echo JText::_('CC_ENABLE_GROUP_PHOTOS_TIPS'); ?>">
						<?php echo JText::_( 'CC_ENABLE_GROUP_PHOTOS' ); ?>
					</span>
				</td>
				<td valign="top">
					<?php echo JHTML::_('select.booleanlist' , 'groupphotos' , null , $this->config->get('groupphotos') , JText::_('CC_YES') , JText::_('CC_NO') ); ?>
				</td>
			</tr>
			<tr>
				<td class="key">
					<span class="editlinktip hasTip" title="<?php echo JText::_( 'CC_ENABLE_GROUP_VIDEOS' ); ?>::<?php echo JText::_('CC_ENABLE_GROUP_VIDEOS_TIPS'); ?>">
						<?php echo JText::_( 'CC_ENABLE_GROUP_VIDEOS' ); ?>
					</span>
				</td>
				<td valign="top">
					<?php echo JHTML::_('select.booleanlist' , 'groupvideos' , null , $this->config->get('groupvideos') , JText::_('CC_YES') , JText::_('CC_NO') ); ?>
				</td>
			</tr>
			<tr>
				<td class="key">
					<span class="editlinktip hasTip" title="<?php echo JText::_( 'CC_ENABLE_GROUP_EVENTS' ); ?>::<?php echo JText::_('CC_ENABLE_GROUP_EVENTS_TIPS'); ?>">
						<?php echo JText::_( 'CC_ENABLE_GROUP_EVENTS' ); ?>
					</span>
				</td>
				<td valign="top">
					<?php echo JHTML::_('select.booleanlist' , 'group_events' , null , $this->config->get('group_events') , JText::_('CC_YES') , JText::_('CC_NO') ); ?>
				</td>
			</tr>
			<tr>
				<td class="key">
					<span class="editlinktip hasTip" title="<?php echo JText::_( 'CC_ENABLE_GROUP_DISCUSSION_NOTIFICATION' ); ?>::<?php echo JText::_('CC_ENABLE_GROUP_DISCUSSION_NOTIFICATION_TIPS'); ?>">
						<?php echo JText::_( 'CC_ENABLE_GROUP_DISCUSSION_NOTIFICATION' ); ?>
					</span>
				</td>
				<td valign="top">
					<?php echo JHTML::_('select.booleanlist' , 'groupdiscussnotification' , null , $this->config->get('groupdiscussnotification') , JText::_('CC_YES') , JText::_('CC_NO') ); ?>
				</td>
			</tr>
		</tbody>
	</table>
</fieldset>